package com.arithmetic.redBlackTree;


/**
 *
 */
public class RedBlackTreeDemo {

    public static void main(String[] args) {
        StringBuffer s=new StringBuffer("123456789");
        s.delete(0,3).replace(1,3,"35").delete(4,6);

        System.out.println("s = " + s);
//        StringBuffer s1=new StringBuffer("123456789");
//        s1.substring(3,6).
    }

}
